<ion-header>
    <header-component>
        <ion-toolbar>
            <ion-buttons class="button-left">
                <img *ngIf="!roomInfo.isChildSensor && !roomInfo.isPIOM" navBackButton src="assets/imgs/return.svg" alt="">
                <img *ngIf="roomInfo.isChildSensor || roomInfo.isPIOM" src="assets/imgs/return.svg" alt="" (click)="goBack()">
            </ion-buttons>
            <ion-title>{{ roomInfo.areaName }}{{ roomInfo.meterName }}</ion-title>
        </ion-toolbar>
        <a (click)="reChange()">重装</a>
    </header-component>
</ion-header>
<ion-content>
    <div class="installation">
        <div class="installation-top">
            <process-bar [defaultSet]="defaultSet" [installData]="installData"></process-bar>
        </div>
        <div class="installation-bottom">
            <key-deployment [roomInfo]="roomInfo" [installData]="installData" [defaultSet]="defaultSet" NextNum="NextNum()"></key-deployment>
        </div>
    </div>
</ion-content>